using System;
using System.Collections;
using System.Collections.Generic;
using MvcContrib.Pagination;
using Web.App.Infrastructure.Localization.Contract;
using Webshop20.Application.DataTransferObjects;

namespace Webshop20.Presentation
{
    public class ProductsByCategory : PresentationModelBase
    {
        private readonly string categoryName;
        private readonly string categoryId;
        private readonly IPagination<ProductDTO> products;
        private const int PAGESIZE_OF_TEN = 10;

        public ProductsByCategory(ILocalisationService localisationService, IPagination<ProductDTO> products, string categoryId, string categoryName) : base(localisationService)
        {
            this.products = products;
            this.categoryName = categoryName;
            this.categoryId = categoryId;
        }

        public IPagination<ProductDTO> Products
        {
            get { return products; }
        }

        public string CategoryId
        {
            get { return categoryId; }
        }

    }
}